package com.act.moudles.baseAct.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.act.moudles.baseAct.entity.OnlineDeploy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * (OnlineDeploy)表数据库访问层
 *
 * @author makejava
 * @since 2023-05-09 21:45:25
 */
@Mapper
public interface OnlineDeployDao extends BaseMapper<OnlineDeploy> {




    /**
     * 根据流程文件名称
     * @param bpmnName
     * @return
     */
    OnlineDeploy  selectOneByBpmnFileName(@Param("bpmnName") String bpmnName,
                                          @Param("userId")Long userId,
                                          @Param("tenantId")String tenantId);


    /**
     * 查询用户部署信息
     * @param userFlowKey
     * @return
     */
    OnlineDeploy  selectByUserFlowKey(String userFlowKey);


}

